﻿using System;
using System.Collections.Generic;
using System.Text;

using ECCIT;
using System.Linq;
using OgilvyOne.UKNow.IDAL;
using OgilvyOne.UKNow.DAL;
using System.Collections;
using OgilvyOne.UKNow.Model;
using ECCIT.Data;
using System.Data;

namespace OgilvyOne.UKNow.BLL
{
    public class HomeViewCountBLL
    {
        //修改数据访问量的记录
        public bool Update(int langID)
        {
            HomeViewCountDAL use = new HomeViewCountDAL();
            return use.Update(langID);
        }
        //获得数据访问量的记录
        public int  getCount()
        {
            HomeViewCountDAL use = new HomeViewCountDAL();
            int count = use.GetModel();
            return count;
        }
    }
}
